<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<% request.setCharacterEncoding("utf-8");%>
<% response.setContentType("text/html;charset=utf-8");%>
<html>
    <head>
        <title>添加图书</title>
    </head>
    <body bgcolor="white">
        <form action="AddBook_1.jsp" method="post">
            <table>
                <tr>
                    <td>书籍名称:</td>
                    <td>
                        <input type="text" name="mc">
                    </td>
                </tr>
                <tr>
                    <td>作者:</td>
                    <td>
                        <input type="text" name="author">
                    </td>
                </tr>
                <tr>
                    <td>出版商:</td>
                    <td>
                        <input type="text" name="publisher">
                    </td>
                </tr>
                <tr>
                    <td>出版日期:</td>
                    <td>
                        <input type="text" name="pubDate">
                    </td>
                </tr>
                <tr>
                    <td>Isbn:</td>
                    <td>
                        <input type="text" name="Isbn">
                    </td>
                </tr>
                <tr>
                    <td>价格:</td>
                    <td>
                        <input type="text" name="price">
                    </td>
                </tr>
                <tr>
                    <td>类别编码:</td>
                    <td>
                        <select name="Lxbm">
                            <option>1</option>
                            <option>2</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>页码:</td>
                    <td>
                        <input type="text" name="Ym">
                    </td>
                </tr>
                <tr>
                    <td>图片路径:</td>
                    <td>
                        <input type="text" name="picPath">
                    </td>
                </tr>
                <tr>
                    <td>简介:</td>
                    <td>
                        <input type="text" name="content">
                    </td>
                </tr>

                <tr>
                <tr>
                    <td colspan=2>
                        <input type="submit" value="Submit">
                    </td>
                </tr>
            </table>
        </form>
        <jsp:useBean id="bookinfo"
                     class="bis.FLBook">
            <jsp:setProperty name="bookinfo" property="*" />
        </jsp:useBean>
        <c:if test="${bookinfo.FLUpdate}">
            <c:out value="anmeng"/>
        </c:if>
    </body>

</html>